]> dgit.raspbian.org Git - gnome-shell.git/commit
status/thunderbolt: Connect to signals using connectObject
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 24 Jul 2025 23:08:01 +0000 (01:08 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 1 Aug 2025 14:29:53 +0000 (16:29 +0200)
commit4dec3f1accd1ac73f7b57f4e90f95ec395adaa17
tree2ca38f0dab764932eab7be9a6128e533edd73890
parent02f9ff58eb0edd4511c715d46808e7f47e66df10
status/thunderbolt: Connect to signals using connectObject

To ensure that we disconnect from those signals when the Indicator goes
away, use the `connectObject()` convenience function.

This also allows removing the call to `disconnectAll()` in the AuthRobot
`close()` method.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3796>
(cherry picked from commit 47965887d98c761ab89ce3f7a5ca937a35f61294)
js/ui/status/thunderbolt.js